//
//  StringEncrypt.h
//  KLGenerateSpamCode
//
//  Created by Rowling on 2023/4/25.
//  Copyright © 2023 GAEA. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Config.h"
NS_ASSUME_NONNULL_BEGIN



@interface StringEncrypt : NSObject
+ (NSString*)encrypt:(NSString*)plainText key:(NSString *)key iv:(nullable NSString *)iv;

+ (NSString*)decrypt:(NSString*)encryptText key:(NSString *)key iv:(nullable NSString *)iv;
@end

@interface MatchItem : NSObject

@property(assign, nonatomic) NSRange range;

@property(assign, nonatomic) BOOL isInsertKey;

@end

@interface ScanSegment : NSObject

@property(assign, nonatomic) NSRange range;

@property(assign, nonatomic) BOOL strJoinFlag;

@end
NS_ASSUME_NONNULL_END
